/* Ejercicio 2.24
   ejer2_24.c */
#include <stdio.h>

/* funcion main, el programa inicia aca */
int main()
{
    int number;

    printf( "Introduce a number: " );
    scanf( "%d", &number );

    if ( number % 2 == 0 ) {
        printf( "%d is odd\n", number );
    }

    if ( number % 2 != 0 ) {
        printf( "%d is even\n", number );
    }
    return 0;
} /* fin de la funcion main */
